<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title> information du bien </title>
		<link rel="stylesheet" type="text/css"  media="screen" href="topic.css"/>
	</head>

	<body>
		<?php  
			if($_SESSION['log'] == 1){
				include_once("header_connecter.html");
			}else{
				include_once("header_deconnecter.html");
			} 
		?>
	 <table align="center">
	 	<br/>
		<br/>
		<br/>
		<br/>
		<br/>
	  	<tr>
			<td> Photo </td>
			<td> <img src="<?php echo $Photo['photo']?>"> </td>
			 </tr>
			 
			  <tr> 
				<td> Pays: </td> 
				<td> <?php echo $Pays['pays'] ?> </td> 
			  </tr>
						 
			  <tr> 
				<td> Adresse: </td> 
				<td> <?php echo $top['adresse'] ?> </td> 
				</tr>
				
				<tr>
				 <td> Code postal : </td>
				 <td> <?php echo $top['codepostal'] ?>	 </td>
				</tr>
				
				<tr>
				 <td> Ville :</td>
				 <td> <?php echo $Ville['ville'] ?> </td>
				</tr>
					
				<tr>
				 <td> Type :</td>
				 <td> <?php echo $Type['type'] ?> </td>
				</tr>
					
				<tr> 
				 <td> Surface: </td> 
				 <td> <?php echo $top['surface'] ?>  </td> 
				</tr>
						 
				<tr> 
				 <td> Tarif par jour: </td> 
				 <td> <?php echo $top['tarif_jour'] ?> </td> 
				</tr>
						 
				<tr> 
				 <td> Tarif par semaine: </td> 
				 <td> <?php echo $top['tarif_semaine'] ?> </td> 
				</tr>					
						
				<tr> 
				 <td> Description </td> 
				 <td> <?php echo $top['description'] ?> </td> 
				</tr>

				<tr> 
				 <td> Bien disponible de : <?php echo $top['debut_dispo'] ?> à : <?php echo $top['fin_dispo'] ?> </td> 
				</tr>
				
		<form method="post">
				<tr>
					<td> <?php echo $erreur ?></td>
				 <td> <input type="submit" value="louer" name="louer" ></td>
				</tr>
						 
				
	  
	  </form>
	 </table>
	 	
	</body>
</html>